/**
 * SEVAS - Swiss Electronic Vaccination Advisor Service / Agile Development
 *
 * $Id: Vaccination.java 41 2010-08-24 03:15:52Z zimmr7@bfh.ch $
 */
package ch.bfh.sevas;

public class VaccinationScheduleEntry {

    private String status;
    private String vaccinationAge;
    private RecommendedBaseVaccination baseVaccination;

    public VaccinationScheduleEntry(String status, String vaccinationAge,
            RecommendedBaseVaccination baseVaccination) {
        this.status = status;
        this.vaccinationAge = vaccinationAge;
        this.baseVaccination = baseVaccination;
    }

    @Override
    public String toString() {
        return status;
    }

    public String getAntigen() {
        return baseVaccination.getAntigen();
    }

    public String getVaccinationAge() {
        return vaccinationAge;
    }

    public String getLongVaccinationAge() {
        return Age.getLongVaccinationAge(vaccinationAge);
    }

    public String getDose() {
        return baseVaccination.getDose();
    }

    public RecommendedBaseVaccination getBaseVaccination() {
        return baseVaccination;
    }
}
